#ifndef SCENELISTXML_H
#define SCENELISTXML_H

#include <QObject>
#include <QStringList>
#include "BaseXml.h"
#include "DataType/ControlPointStruct.h"
#include "DataType/SWKNXDataStruct.h"


class SceneListXml : public BaseXml<SceneListXml>
{
public:
    friend class BaseXml<SceneListXml>;
    bool parser();

    QList<ControlPointStruct> controlPointList(const ControlPointStruct &controlPoint);
    QList<ControlPointStruct> controlPointList(const QList<ControlPointStruct> &sourcePointList);

    QList<SWKNXDataStruct> controlKNXList(const ControlPointStruct &controlPoint);
    QList<SWKNXDataStruct> controlKNXList(const QList<ControlPointStruct> &sourcePointList);

    QMap<ControlPointStruct, QList<ControlPointStruct> > sceneMap() const;
    /*DelayTimeList*/
    void setDelayTimeList(const QList<ControlPointStruct> list);
    QList<ControlPointStruct> getDelayTimeList()const;
    void joinDelayTimeList(const ControlPointStruct Struct);
    /***************/
private:
    SceneListXml();
    bool clear();
    QMap<ControlPointStruct,QList<ControlPointStruct> > m_sceneMap;
    QMap<ControlPointStruct,QList<SWKNXDataStruct> > m_knxDataMap;

    /*DelayTimeList*/
    QList<ControlPointStruct> m_delayTimeList;
    /***************/

};

#endif // SCENELISTXML_H
